home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
ab20
/
ab20_archive
/
fish
/
aquarium
/
aquarium-581-590.lzh
/
Update.doc
< prev
Wrap
Text File
|
1992-02-29
|
8KB
|
204 lines
_______________________________________________________________
| |
| Aquarium Database Update |
| Fred Fish Disks 581 - 590 |
| 21st Revision |
|_______________________________________________________________|
What have we got here?
This distribution contains the portion of the Aquarium Database which, when
appended to the previous,
packed
, version of the database, will bring it up
to date to include all disks through Fred Fish's AmigaLibDisk #590.
It is extremely important that you observe the following points:
- Your present Aquarium Database contains disks 001 - 580.
- Your present Aquarium Database is in the packed format
as described in the 15th Revision of these distributions.
If you don't know what the h*** I'm talking about then
don't use this update!
- You append an update set only if it is exactly sequential,
meaning that if you have 001 - 550 you shall NOT append
the 581 - 590 set before having applied the 551 - 580 set.
- You use a backup copy of the files
data
,
index
,
KeyNames
, and
Names
. I'm anything but infallible; protect yourself!
Floppy Users
Since the database continues to grow towards the limits of floppy disk
space, you will sooner or later run of of space. The instructions
below assume (for simplicity's sake) that enough space is available.
If you do encounter a problem with diskspace, use the RAM: disk to
store the .lzh file and the extracted -add files.
Notice also that you could simply rename the .new files after
they've been created with join and relabel the volume to AQUARIUM: and
using the original AQUARIUM: disk as a backup to fall back on.
NOTE: I am not the author of Aquarium; I have no source.
The author of Aquarium is B Lennart Olsson.
Physical/Logical Volume assumptions (substitute your own if you want):
I will refer to two volumes in this documentation, NEWFISH and
AQUARIUM. On a floppy disk, this would refer to two distinct disks,
named appropriately, while on a harddisk you may have these assigned
to different directories or partitions.
I don't supply you with a script to automate the update, since
I have rarely run across a script that will work with every
environment and takes everything into account. Your human
intelligence is far more capable than my assumptions and a script's
limitations.
If I get feedback on it, I'll try my luck on a script, of
course.
Synopsis:
NEWFISH: the AquariumData*.lzh file you wish to add.
AQUARIUM: the Aquarium program and the data/ directory.
Installation Instructions
At the CLI, enter (the stuff in
italics
)
1>
cd NEWFISH:
1>
lharc x AquariumData*
At this point, LHARC will extract the various files from the archive,
placing them all into the current directory (NEWFISH:).
Next, enter the following commands. These will join the original file
with the newly extracted additions, and save the results in a file
with the extension .new
1>
join AQUARIUM:data NEWFISH:data-add as NEWFISH:data.new
1>
join AQUARIUM:index NEWFISH:index-add as NEWFISH:index.new
1>
join AQUARIUM:names NEWFISH:names-add as NEWFISH:names.new
You can now delete the extracted additions and copy the .new files
over the old version of the database. Notice that if you perform this
step on your only copy of the Aquarium, you lose the option of undoing
the addition if it should prove faulty. Be careful!
1>
delete NEWFISH:data-add NEWFISH:index-add NEWFISH:names-add
1>
copy NEWFISH:data.new AQUARIUM:data
1>
copy NEWFISH:index.new AQUARIUM:index
1>
copy NEWFISH:names.new AQUARIUM:names
Voilá!
Patching Aquarium
ATTENTION: I provide this patch as a matter of extending the lifespan
of Aquarium for users without harddisks until a more permanent
solution can be found. I can take no responsibility for problems of
any kind that arise from applying this patch.
I am also unsure if B Lennart Olsson would approve of altering
his program. I certainly failed to get permission. Don't hit me!
ATTENTION: This patch will not help you unless you have two floppy
drives (or more). Aquarium keeps the data, index, and names
files open during its operation. If you have only one floppy
drive, you'd quickly go insane swapping disks ...
WARNING: Make these modifications on a COPY OF THE AQUARIUM PROGRAM.
Don't say I didn't warn you!!
Ok, down to business:
Luckily, Aquarium stores a full relative path to all its data
files, and we can modify these so long as we don't use up any more
space than already taken (this is a safety measure).
Using NewZap, you will find that Aquarium is 97 "sectors" long.
Each sector is 512 bytes. On sector 93, you will find a sequence of
bytes similar to the following rather inaccurate representation:
ASQ CNPTNF data/index data/data data/names data/keynames
It appears that the string "CNPTNF" is unique up to that point, so you
can use that to locate this region within the executable. There is
another area within the executable which has names such as
"data/names" etc. That area has a lot of "r+" symbols mixed in with
the file names. Leave that region alone; it is not the one we want.
What we need to pay attention to are the names of the four data files:
data/index
data/data
data/names
data/keynames
We will change ONLY THE "data/" portion of these, making them either
"FSH1:" or "FSH2:"
FSH1:index
FSH2:data
FSH1:names
FSH1:keynames
Notice that ONLY the file "data" will be stored on FSH2: because that
one is the biggest file and will reside by itself on an otherwise
blank disk.
Make sure you tell NewZap to SAVE the modifications! Exit the program.
You will now have to prepare two new floppy disks. Label them FSH1
and FSH2 (use the relabel command or rename blank (freshly formatted)
disks from the Workbench). Make sure there is no Trashcan folder on
the disk.
Store the file "data" on FSH2
Store the other files (even the Aquarium executable) on FSH1
Notice that you do NOT want to store the files in subdirectories any
longer. Store the files in the root of the respective volume. You
need no data/ directory any more since we patched Aquarium to use a
logical volume name instead.
Now, when you run Aquarium (from FSH1) Intuition will ask you to insert
volume FSH2 or FSH1 as required.
KingFisher: The Aquarium rewrite
What little time I have these days is going into KingFisher, which aims to
be not only visually pleasing but offers a lot of number of new features.
I'm sorry to say that this is taking far longer than expected, but working
for a living and enjoying life a lot does keep me away from my Amiga too
much to make quick progress.
Rest assured that the Usenet community will be informed when
KingFisher is ready for release. I am hoping that I may make it by April
1992 ...
Many Thanks ...
I'd like to thank Fred Fish for his continuing efforts to provide us, the
Amiga community, with an organized collection of freely distributable
software. 590 Disks!!! Amazing! Go Fred, Go!
I would also like to express my thanks to B. Lennart Olsson, who made
available to us the Aquarium (Aqvarium?) for all those Fish Disks! Beats
the h*** out of searching huge text files!
Ian Nicholls of Australia, savior of time and space :-), receives my
special thanks for the aqua* utilities.
And last, but not least, all those who write all that freely distributable
software deserve our special thanks. Where would we all be without YOU?
___
._. Udo Schuermann / | \ "There is no Way to Peace.
( ) walrus@wam.umd.edu \/|\/ Peace is the Way!" -- Ghandi.
~~~